/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */

/*
 *  Credenza
 *
 *  Copyright (C) 1999, 2000 Red Hat, Inc.
 *  Copyright (C) 1999, 2000, 2001 Eazel, Inc.
 *  Copyright (C) 2003 Ximian, Inc.
 *
 *  Credenza is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public License as
 *  published by the Free Software Foundation; either version 2 of the
 *  License, or (at your option) any later version.
 *
 *  Credenza is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */
/* credenza-window.h: Interface of the main window object */

#ifndef CREDENZA_SPATIAL_WINDOW_H
#define CREDENZA_SPATIAL_WINDOW_H

#include "credenza-window.h"
#include "credenza-window-private.h"

#define CREDENZA_TYPE_SPATIAL_WINDOW credenza_spatial_window_get_type()
#define CREDENZA_SPATIAL_WINDOW(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), CREDENZA_TYPE_SPATIAL_WINDOW, CredenzaSpatialWindow))
#define CREDENZA_SPATIAL_WINDOW_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST ((klass), CREDENZA_TYPE_SPATIAL_WINDOW, CredenzaSpatialWindowClass))
#define CREDENZA_IS_SPATIAL_WINDOW(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CREDENZA_TYPE_SPATIAL_WINDOW))
#define CREDENZA_IS_SPATIAL_WINDOW_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE ((klass), CREDENZA_TYPE_SPATIAL_WINDOW))
#define CREDENZA_SPATIAL_WINDOW_GET_CLASS(obj) \
  (G_TYPE_INSTANCE_GET_CLASS ((obj), CREDENZA_TYPE_SPATIAL_WINDOW, CredenzaSpatialWindowClass))

#ifndef CREDENZA_SPATIAL_WINDOW_DEFINED
#define CREDENZA_SPATIAL_WINDOW_DEFINED
typedef struct _CredenzaSpatialWindow        CredenzaSpatialWindow;
#endif
typedef struct _CredenzaSpatialWindowClass   CredenzaSpatialWindowClass;
typedef struct _CredenzaSpatialWindowDetails CredenzaSpatialWindowDetails;

struct _CredenzaSpatialWindow {
        CredenzaWindow parent_object;

        gboolean affect_spatial_window_on_next_location_change;
        
        CredenzaSpatialWindowDetails *details;
};

struct _CredenzaSpatialWindowClass {
        CredenzaWindowClass parent_spot;
};


GType            credenza_spatial_window_get_type			(void);
void             credenza_spatial_window_set_location_button		(CredenzaSpatialWindow *window,
									 GFile                 *location);

#endif
